package top.auntie.dao;

import java.util.List;
import org.apache.ibatis.annotations.Param;
import top.auntie.model.TypeGroup;
import top.auntie.model.TypeGroupExample;

public interface TypeGroupDao {
    long countByExample(TypeGroupExample example);

    int deleteByExample(TypeGroupExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(TypeGroup record);

    int insertSelective(TypeGroup record);

    List<TypeGroup> selectByExample(TypeGroupExample example);

    TypeGroup selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") TypeGroup record, @Param("example") TypeGroupExample example);

    int updateByExample(@Param("record") TypeGroup record, @Param("example") TypeGroupExample example);

    int updateByPrimaryKeySelective(TypeGroup record);

    int updateByPrimaryKey(TypeGroup record);
}